package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * Created by rize on 2019/7/5.
 */
@Data
@TableName("unimall_order_refund")
public class RefundOrderDO extends SuperDO {

    /**
     * 冗余，方便技术查库
     */
    @TableField("order_refund_no")
    private String orderRefundNo;

    @TableField("order_no")
    private String orderNo;


    @TableField("refund_price")
    private Integer refundPrice;

    @TableField("refund_reason")
    private Integer refundReason;

    @TableField("refund_status")
    private Integer refundStatus;

    @TableField("refund_user_id")
    private Long refundUserId;
    @TableField("refund_user_name")
    private String refundUserName;
    /*
     门店id
    */
    @TableField("store_id")
    private Long storeId;
    @TableField("store_user_id")
    private Long storeUserId;

    @TableField("is_online")
    private Integer isOnline;
    /**
     * 退款渠道
     */
    @TableField("refund_channel")
    private String refundChannel;


    //原支付方式
    @TableField(exist = false)
    private String oriPayChannel;
    //线上线下
    @TableField(exist = false)
    private String isOnlineStr;
}
